projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bef44ab
)
widget: Make invisible widgets not propagate resizes
author
Benjamin Otte
<otte@redhat.com>
Thu, 1 Oct 2015 20:38:31 +0000
(22:38 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 28 Oct 2015 18:44:29 +0000
(19:44 +0100)
Do not queue a resize on the parent if the widget is not visible.
Invisible widgets do not influence the parents size.
gtk/gtkwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwidget.c
b/gtk/gtkwidget.c
index a1d5153cfd8affcdc48afd1851c02372e8cc24e3..12c15cba135f2cfa586bf582e07d9d6430a6444c 100644
(file)
--- a/
gtk/gtkwidget.c
+++ b/
gtk/gtkwidget.c
@@
-5635,7
+5635,7
@@
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
gtk_container_queue_resize_handler (GTK_CONTAINER (widget));
G_GNUC_END_IGNORE_DEPRECATIONS;
}
- else
+ else
if (_gtk_widget_get_visible (widget))
{
GtkWidget *parent = _gtk_widget_get_parent (widget);
if (parent)